Change Password
Request to be POSTed to uri : /NorenWClientTP/Changepwd
Request Details :
Parameter Name | Possible value | Description |
---|---|---|
jData* | Should send json object with fields in below list |
Json Fields | Possible value | Description |
---|---|---|
uid* | User Id | |
oldpwd* | Sha256 of old password | |
pwd* | New password in plain text |
Response Details :
Response data will be in json format with below fields.
Json Fields | Possible value | Description |
---|---|---|
stat | Ok or Not_Ok | Password reset is Success Or failure status |
request_time | Response received time. | |
dmsg | "Password Change Success. Your new password will expire in 60 days" | This will be present only in case of success. Number of days to expiry will be present in the same. |
emsg | 1) "Error Occurred : Password couldn't be changed as it is among the previous 3 passwords"2) "Error Occurred : Please enter an alphanumeric password of minimum 8 characters. Refer password criteria for more details" | This will be present only if password change fails |
Sample Success Response :
{
"request_time":"10:20:04 27-05-2020",
"stat":"Ok",
“dmag”:”Password Change Success. Your new password will expire in 15 days”
}
Sample Failure Response :
{
"request_time":"10:21:09 27-05-2020",
"stat":"Not_Ok",
"emsg":"Error Occurred : Password couldn't be changed as it is among the previous 3 passwords"
}